PV-to-HVM: Add a compatibility define for the end_that_request_last
authorIan Campbell <ian.campbell@xensource.com>
Wed, 25 Oct 2006 12:58:30 +0000 (13:58 +0100)
committerIan Campbell <ian.campbell@xensource.com>
Wed, 25 Oct 2006 12:58:30 +0000 (13:58 +0100)
which changed prototype in 2.6.16.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h

index 219382c3c1510ac2db5eb8e2dea25758fe57bade..4978c6361060c94a3c739f9e55e2e4f4a35b62b9 100644 (file)
@@ -45,4 +45,8 @@ signed long schedule_timeout_interruptible(signed long timeout);
 void *kzalloc(size_t size, int flags);
 #endif
 
+#if defined(_LINUX_BLKDEV_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
+#define end_that_request_last(req, uptodate) end_that_request_last(req)
+#endif
+
 #endif